<extend name="Public/base" />

<block name="body">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/chosen_v1.8.5/chosen.min.css">
    <script src="__STATIC__/chosen_v1.8.5/chosen.jquery.js"></script>
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
	<div class="main-title cf">
		<h2>编辑医生资料</h2>
	</div>
	<!-- 表单 -->
	<form id="form" action="{:U('update')}" method="post" class="form-horizontal">
		<div class="form-item cf">
			<label class="item-label">姓名</label>
			<div class="controls">
				<input type="text" class="text input-large" name="name" value="{$data.name}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">医院</label>
            <div class="controls">
                <input type="text" class="text input-large" name="hospital" value="{$data.hospital}">
            </div>
		</div>
        <div class="form-item cf">
            <label class="item-label">手机号</label>
            <div class="controls">
                <input type="text" class="text input-large" name="phone" value="{$data.phone}">
            </div>
        </div>
        <div class="form-item cf">
            <label class="item-label">职称</label>
            <div class="controls">
                <input type="text" class="text input-large" name="title" value="{$data.title}">
            </div>
        </div>
        <div class="form-item cf">
            <label class="item-label">职务</label>
            <div class="controls">
                <input type="text" class="text input-large" name="duty" value="{$data.duty}">
            </div>
        </div>

		<div class="form-item">
			<input type="hidden" name="id" value="{$data.id}"/>
			<button type="submit" class="btn bg-orange submit-btn ajax-post" target-form="form-horizontal">确 定</button>
			<button class="btn bg-blue btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
</block>

<block name="script">

<script type="text/javascript" charset="utf-8">
	Think.setValue('type',{$data.type|default=1});
    //导航高亮
    highlight_subnav('{:U('Member/index')}');

</script>
</block>
